package com.ruoyi.system.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 warehouse_come
 * 
 * @author ruoyi
 * @date 2023-05-26
 */
public class WarehouseCome extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库表id */
    private String warehouseComeId;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date warehouseComeTime;

    /** 供应商公司 */
    @Excel(name = "供应商公司")
    private String supplierCompany;

    /** 供应商负责人 */
    @Excel(name = "供应商负责人")
    private String supplierCompanyPrincipal;

    /** 供应商负责人电话 */
    @Excel(name = "供应商负责人电话")
    private String supplierCompanyPrincipalTel;

    /** 经手人 */
    @Excel(name = "经手人")
    private String warehouseComeHandler;

    private List<WarehouseComeDetails> warehouseComeDetailsList = new ArrayList<>();

    public void setWarehouseComeId(String warehouseComeId) 
    {
        this.warehouseComeId = warehouseComeId;
    }

    public String getWarehouseComeId() 
    {
        return warehouseComeId;
    }
    public void setWarehouseComeTime(Date warehouseComeTime) 
    {
        this.warehouseComeTime = warehouseComeTime;
    }

    public Date getWarehouseComeTime() 
    {
        return warehouseComeTime;
    }
    public void setSupplierCompany(String supplierCompany) 
    {
        this.supplierCompany = supplierCompany;
    }

    public String getSupplierCompany() 
    {
        return supplierCompany;
    }
    public void setSupplierCompanyPrincipal(String supplierCompanyPrincipal) 
    {
        this.supplierCompanyPrincipal = supplierCompanyPrincipal;
    }

    public String getSupplierCompanyPrincipal() 
    {
        return supplierCompanyPrincipal;
    }
    public void setSupplierCompanyPrincipalTel(String supplierCompanyPrincipalTel) 
    {
        this.supplierCompanyPrincipalTel = supplierCompanyPrincipalTel;
    }

    public String getSupplierCompanyPrincipalTel() 
    {
        return supplierCompanyPrincipalTel;
    }
    public void setWarehouseComeHandler(String warehouseComeHandler) 
    {
        this.warehouseComeHandler = warehouseComeHandler;
    }

    public String getWarehouseComeHandler() 
    {
        return warehouseComeHandler;
    }

    public List<WarehouseComeDetails> getWarehouseComeDetailsList() {
        return warehouseComeDetailsList;
    }

    public void setWarehouseComeDetailsList(List<WarehouseComeDetails> warehouseComeDetailsList) {
        this.warehouseComeDetailsList = warehouseComeDetailsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseComeId", getWarehouseComeId())
            .append("warehouseComeTime", getWarehouseComeTime())
            .append("supplierCompany", getSupplierCompany())
            .append("supplierCompanyPrincipal", getSupplierCompanyPrincipal())
            .append("supplierCompanyPrincipalTel", getSupplierCompanyPrincipalTel())
            .append("warehouseComeHandler", getWarehouseComeHandler())
            .append("remark", getRemark())
            .toString();
    }
}
